import request from '/@/utils/request';
// 查询分类管理列表
export function taskList(query:Object) {
    return request({
        url: '/task/list',
        method: 'get',
        params: query
    })
}
export function taskEdit(data:Object) {
    return request({
        url: '/task/edit',
        method: 'post',
        data: data
    })
}
export function taskTestSql(query:Object) {
    return request({
        url: '/task/testsql',
        method: 'get',
        params: query
    })
}
export function taskOperation(data:Object) {
    return request({
        url: '/task/operation',
        method: 'post',
        data: data
    })
}
export function taskTest(data:string) {
    return request({
        url: '/task/test/'+data,
        method: 'post',
    })
}